home *** CD-ROM | disk | FTP | other *** search
/ Amiga Elysian Archive / AmigaElysianArchive.iso / newc_dev / aclon371.lha / {ReadMe!} next >
Text File  |  1993-08-12  |  2KB  |  94 lines

  1. TABLE OF CONTENTS
  2.  
  3. --background--
  4. BaseName
  5. TackOn
  6.  
  7.  
  8. --background--                                                 --background--
  9.  
  10.  
  11.     PURPOSE
  12.     To provide AmigaDOS equivalents of some ancient ARP commands that,
  13.     to the best of my knowledge, never has been ported to dos.library.
  14.     Every efford has been made to make these commands 100% compatible
  15.     with the corresponding ARP commands.
  16.  
  17.     As of this distribution the set is limited to the BaseName and
  18.     TackOn commands, but I might consider implementing others (e.g.
  19.     Read) if enough interest is there.
  20.  
  21.     NOTES
  22.     The commands supplied herein where written in assembly, using the
  23.     DAS assembler from DICE (my other assemblers had a bug in the EXG
  24.     instruction :-(). They are, of course, fully re-entrant and can be
  25.     made resident.
  26.  
  27.     At least v37 of dos.library is required.
  28.  
  29.     BaseName & TackOn are Copyright © 1993 Magnetic Ink, but freely
  30.     redistributable for electronic distribution or otherwise.
  31.  
  32.     AUTHOR
  33.     Please send suggestions and/or bug reports to:
  34.  
  35.         Klaus Seistrup, 2:230/119@fidonet        
  36.         E-mail: kleis@mink.adsp.sub.org
  37.  
  38.  
  39. BaseName                                                             BaseName
  40.  
  41.  
  42.     NAME
  43.     BaseName -- Return basename of pathname (V37.1)
  44.  
  45.     SYNOPSIS
  46.     PATH/A,SUFFIX
  47.  
  48.     FUNCTION
  49.     The basename of a pathname is its last component. E.g., the
  50.     basename of `DH1:FooBar.fly' is `FooBar.fly'.
  51.  
  52.     If suffix is given, and it corresponds with the extension of the
  53.     pathname, the suffix will be deleted. E.g.:
  54.  
  55.         BaseName DH1:FooBar.fly .fly
  56.  
  57.     will output `FooBar'.
  58.  
  59.     INPUTS
  60.         PathName - A valid pathname
  61.         Suffix   - Optional extension to be deleted
  62.  
  63.     BUGS
  64.         None known.
  65.  
  66.     SEE ALSO
  67.     ARP/BaseName, dos.library/FilePart(), TackOn
  68.  
  69.  
  70. TackOn                                                                 TackOn
  71.  
  72.  
  73.     NAME
  74.     TackOn -- Correctly add a filename to an existing pathname (V37.1)
  75.  
  76.     SYNOPSIS
  77.     PATH/A,FILE/A
  78.     
  79.     FUNCTION
  80.     This program correctly tacks a filename onto an existing pathname,
  81.     inserting the appropriate separator character (':' or '/').
  82.  
  83.     INPUTS
  84.     PathName - Pathname to be augmented.
  85.     FileName - Filename to augment pathname with.
  86.  
  87.     BUGS
  88.     None known
  89.  
  90.     SEE ALSO
  91.     ARP/TackOn, dos.library/AddPart(), BaseName
  92.  
  93.  
  94.